<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>文章列表</title>
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@3.3.7/dist/css/bootstrap.min.css">
</head>
<body>
<nav class="navbar navbar-default">
  <div class="container-fluid">
      <div class="navbar-header">
          <div class="navbar-brand">珠峰爬虫</div>
      </div>
      <div>
            <ul class="nav navbar-nav">
                  <li><a href="/">首页</a></li>
                  <%if(user){%>
                    <li><a href="/subscribe">订阅</a></li>
                  <%}else{ %>
                    <li><a href="/login">登录</a></li>
                  <%}%>
            </ul>
        </div>
  </div>
</nav>
<div class="container" style="margin-top:30px;">